echo "this operation will remove all the original config of emacs, are you sure? [Y/n]"
read choice
if [ "${choice}" == "Y" ] || [ "${choice}" == "YES" ] || [ "${choice}" == "Yes" ];
then
   echo "begin to deploy the new config"
   rm ~/.emacs
   rm -rf ~/.emacs.d
   cp emacs ~/.emacs
   cp -r emacs.d ~/.emacs.d
fi


